Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Add manageViewSubscriptions and manageSubscriptions #43

Merged
merged 7 commits into from
Dec 15, 2016
Merged

Add manageViewSubscriptions and manageSubscriptions #43

merged 7 commits into from
Dec 15, 2016

Conversation

StefMa
Copy link
Contributor

@StefMa StefMa commented Dec 13, 2016

Add manageViewSubscriptions and manageSubscriptions to handle multiple subscriptions at once.

Feature request of #37

Copy link
Contributor

@passsy passsy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add tests 😉

}

@Test(expected = AssertionError.class)
public void tesManageViewSubscription_DetachBeforeAttach_ShouldThrowAssertError()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected: tes[t]ManageViewSub... but instead
Found: tesManageViewSub...

testSubscriber.assertUnsubscribed();
}

@Test(expected = IllegalStateException.class)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer the previous used try catch solution because the exception message was checked too

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants